//
//  DealListViewController.swift
//  myGeekTime
//
//  Created by moon on 2021/6/22.
//

import UIKit

class DealListViewController: BaseViewController, CommonListDelegate {
    func didSelectItem<Item>(_ item: Item) {
        
    }
    
    
    
    
    override func viewDidLoad() {
        super.viewDidLoad()
        
        title = "订单列表"
        
        
        let productList = CommonList<Deal, DealListCell>(frame: .zero)
        productList.items = FakeData.createDeals()
        productList.delegate = self
        view.addSubview(productList)
        productList.snp.makeConstraints { (make) in
            make.edges.equalToSuperview()
        }
    }
    
    
}
